import HomeView from '@/views/HomeView'
const other = [
    {
        path: '/',
        name: 'home',
        component: HomeView
    },
    {
        // 渲染器设置
        path: '/renderer',
        name: 'renderer',
        component: () => import('@/views/WebGLRenderer')
    },
    {
        path: '/light',
        name: 'light',
        component: () => import('@/views/LightPoint')
    },
    {
        path: '/animation',
        name: 'animation',
        component: () => import('@/views/AnimationFrame')
    },
    {
        path: '/boxgeometry',
        name: 'boxgeometry',
        component: () => import('@/views/BoxGeometry')
    },
    {
        // 常见几何体
        path: '/commongeometry',
        name: 'commongeometry',
        children: [
            {
                path: 'box',
                name: 'boxIndex',
                component: () => import('@/views/CommonGeometry/BoxIndex/index')
            },
            {
                path: 'capsule',
                name: 'capsuleIndex',
                component: () => import('@/views/CommonGeometry/CapsuleIndex/index')
            },
            {
                path: 'circle',
                name: 'circleIndex',
                component: () => import('@/views/CommonGeometry/CircleIndex')
            },
            {
                path: 'cone',
                name: 'coneIndex',
                component: () => import('@/views/CommonGeometry/ConeIndex')
            },
            {
                path: 'dodecahedron',
                name: 'DodecaheDron',
                component: () => import('@/views/CommonGeometry/DodecaheDron')
            },
            {
                path: 'torusknot',
                name: 'TorusKnot',
                component: () => import('@/views/CommonGeometry/TorusKnot')
            },
            {
                path: 'sphere',
                name: 'Sphere',
                component: () => import('@/views/CommonGeometry/SphereIndex')
            }
        ]
    },
    {
        // 常见材质
        path: '/commonmaterial',
        name: 'commonmaterial',
        children: [
            {
                path: 'basic',
                name: 'basicIndex',
                component: () => import('@/views/CommonMaterial/BasicIndex')
            }
        ]
    },
    {
        // 常见光源
        path: '/commonlight',
        name: 'commonlight',
        children: [
            {
                path: 'phong',
                name: 'phongIndex',
                component: () => import('@/views/CommonLight/PhongIndex')
            }
        ]
    },
    {
        // dat.gui
        path: '/datgui',
        name: 'datgui',
        children: [
            {
                path: 'basic',
                name: 'basicIndex',
                component: () => import('@/views/DatGui/BasicIndex')
            }
        ]
    }
]
export default other